projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d794c4a
)
Hide paging hint when prefix is help-char
author
Justin Burkett
<justin@burkett.cc>
Tue, 8 Sep 2020 18:18:21 +0000
(14:18 -0400)
committer
Justin Burkett
<justin@burkett.cc>
Tue, 8 Sep 2020 18:18:21 +0000
(14:18 -0400)
We can't do paging in this case.
which-key.el
patch
|
blob
|
history
diff --git
a/which-key.el
b/which-key.el
index c08cfd8af643d91d13118b1a8f736a9be104a8c6..a25337f3d9a63ca32fec28747b3969cee8ffb181 100644
(file)
--- a/
which-key.el
+++ b/
which-key.el
@@
-2125,7
+2125,9
@@
max-lines max-width avl-lines avl-width (which-key--pages-height result))
(key (if paging-key-bound
(concat key " or " which-key-paging-key)
key)))
- (when which-key-use-C-h-commands
+ (when (and which-key-use-C-h-commands
+ (not (string-equal (char-to-string help-char)
+ (kbd prefix-keys))))
(which-key--propertize (format "[%s paging/help]" key)
'face 'which-key-note-face))))